package com.ljq.cls_and_obj;

/**
 * Description:
 * Author:ljq
 * Date:2025-02-15
 * Time:23:29
 */
public class WaterDispenser {
    private  int  price;
    private  int  name;
    private  int  color;
    private  int  volume;

    public WaterDispenser(int price, int name, int color, int volume) {
        this.price = price;
        this.name = name;
        this.color = color;
        this.volume = volume;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getName() {
        return name;
    }

    public void setName(int name) {
        this.name = name;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }
}
